﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Mao a = new Mao("猫");
            a.WoHui();
            a.IPaShu();

            Console.WriteLine("------------------------------------------");

            Gou b = new Gou("狗");
            b.WoHui();
            b.IYouYong();

            Console.WriteLine("------------------------------------------");

            HouZhi c = new HouZhi("猴子");
            c.WoHui();
            c.IPaShu();

            Console.WriteLine("------------------------------------------");

            YaZhi d = new YaZhi("鸭子");
            d.WoHui();
            d.IYouYong();
        }
    }
}
